package com.saile.dao;

import com.saile.domain.Advert;

import java.util.List;
import java.util.Map;

public interface AdvertMapper {



    int insertAdvert(Advert record);
    int deleteAdvert(Long advertId);



    Advert selectByPrimaryKey(Integer tid);


    int updateAdvertByPrimaryKeySelective(Advert record);

    int updateAdvertById(Advert record);

    List<Advert> getAdvertList(Map<String, String> map);
    Advert getAdvert(Map<String, String> map);
    Advert getAdvertById(Long id);
}